
 <div class="container-fluid top_line clearfix hidden-xs" style="background:#000;">
   &nbsp;
</div>
    <noscript>
        <div class="noscript">
            <div class="noscript-inner">
                <p><strong>JavaScript seem to be disabled in your browser.</strong></p>
                <p>You must have JavaScript enabled in your browser to utilize the functionality of this website.</p>
            </div>
        </div>
    </noscript>


<div class="header">
	<div class="container-fluid" style="padding:0 30px;">
		<div class="col-md-5 logo"><a href="/" ><img src="__STATIC__/images/logo.jpg"  /></a></div>
		<div class="col-md-7">
			<div class="clearfix">
				
				<div class="topLi topLiCart"  >
					<a href="{:U('Home/Cart/cart')}" class="topCart"><b></b><span>CART</span><em style="position:absolute;width:20px;height:20px;top:-10px;right:-10px;background:#fff;color:#E30072;line-height:20px;border-radius:10px;text-align:Center;" id="cart_quantity">0</em></a>

				</div>
                <div class="topLi topLi1" >
                	<dl>
                    	<dt>
                            <i><img src="__STATIC__/images/top_ico_3.jpg" /></i>

                            <b>Hello!

                            <a href="{:U('Home/user/logout')}" class="islogin">LOGOUT</a>
                            <a href="{:U('Home/user/login')}" class="nologin">SIGN IN</a>
                            &ensp;&ensp;&ensp;</b>
							<p>MY ACCOUNT <em>▼</em></p>
                        </dt>
                    	<dd>
                        <a href="{:U('Home/User/login')}" >My Account</a>
                        <a href="{:U('Home/User/order_list')}"  >Track My Order</a>
                        <a href="{:U('Home/User/goods_collect')}"  >Wish List</a>
                        <a href="{:U('Home/User/comment')}"  >My Product Reviews</a>
                        </dd>
                    </dl>
				</div>
			</div>
			<div class="topSearch clearfix">
            	<form name="sourch_form" id="sourch_form" method="post" action="{:U('/Home/Goods/search')}">
				<p class="sBox col-md-6 clearfix">
					<input type="text" class="Stext" name="q" id="q"  placeholder="What are you shopping for?">
					<input type="submit" class="Ssub" value="SEARCH" onclick="if($.trim($('#q').val()) != '') $('#sourch_form').submit();">
				</p>
				<div id="search_autocomplete" class="search-autocomplete" style="display: none;"></div>


            </form>
			</div>
		</div>
	</div>
</div>

<style>

div.search-autocomplete {
    background-color: #ffffff;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
    margin-top: -1px;
    padding: 0;
    text-align: left;
    width: 380px;
    z-index: 99999;
}
div.search-autocomplete ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    width: 100%;
}
div.search-autocomplete li {
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
    color: #333333;
    cursor: pointer;
    display: block;
    line-height: 16px;
    margin: 0;
    overflow: hidden;
    padding: 4px 10px;
}
div.search-autocomplete li.selected {
    background-color: #f7f7f7;
    border-color: transparent;
}div.search-autocomplete li .amount{float:right;}
</style>




<link rel="stylesheet" type="text/css" href="__STATIC__/css/menustyles.css" media="all" />
<link rel="stylesheet" type="text/css" href="__STATIC__/css/custom-2.css" media="all" />


<div class="PageMenu">
             <div class="container">

             <ul class="shopItemUl">
                <li class="shopItem"><span><a href="javascript:void(0);" style="cursor:default;">SHOP</a></span>
                    <div class="shopMenu" style="">
                        <div class="CategoryList" id="SideCategoryList">

                                <div class="BlockContent">
                                    <div class="SideCategoryListClassic">
                                        <ul class="category-list level1" style="width: 200px;">


                            <tpshop sql="SELECT * FROM `__PREFIX__goods_category` where level=1 and is_show = 1 ORDER BY `id` DESC" key="k" item='v'>
                            <li class="">
                                <a href="{:U('Home/Goods/goodslist',array('id'=>$v[id]))}" class="hasSub">{$v[$name]}</a>
                                <if condition="$v[id] eq 2">
                                    <ul class="level2" style="width: 174px;"><li class="">
                                <a href="{:U('Home/Goods/goodslist')}" class="hasSub"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Newest Arrivals</font></font></a>

                            <ul class="level3" style="width: 522px;"></ul></li><li class="">
                                <a  href="{:U('Home/Goods/goodslist',array('id'=>79))}" class="hasSub"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Pre-Optioned Sex Dolls</font></font></a>
                                <ul class="level3 gt12" style="width: 522px;"><li class="">
                                <a href="{:U('Home/Goods/goodslist',array('id'=>79))}"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">ALL Sex Dolls</font></font></a>

                            </li>

                                        <tpshop sql="SELECT * FROM `__PREFIX__goods_category` where level=2 and parent_id = 79 and is_show = 1 ORDER BY `id` DESC" key="k2" item='v2'>
                            <li class="">
                                <a href="{:U('Home/Goods/goodslist',array('id'=>$v2[id]))}" ><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">{$v2[name]}</font></font></a>

                            </li>

                                        </tpshop></ul>
                            </li><li class="">
                                <a href="{:U('Home/Goods/goodslist',array('id'=>2))}" class="hasSub"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Customize A Sex Doll</font></font></a>

                            <ul class="level3" style="width: 522px;"></ul></li><li class="">
                                <a href="{:U('Home/Goods/goodslist',array('id'=>51))}" class="hasSub"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">Extra Sex Doll Heads</font></font></a>

                            </li></ul>
                                <else />
                                    <ul class="level2" style="width: 174px;">

                                        <tpshop sql="SELECT * FROM `__PREFIX__goods_category` where level=2 and parent_id = $v[id] and is_show = 1 and is_shop=1 ORDER BY `id` DESC" key="k2" item='v2'>
                                        <li>
                                    <a  href="{:U('Home/Goods/goodslist',array('id'=>$v2[id]))}" class="hasSub"><font style="vertical-align: inherit;"><font style="vertical-align: inherit;">{$v2[name]}</font></font></a>

                                <ul class="level3" style="width: 522px;"></ul></li>

                                        </tpshop>
                                    </ul>
                                </if>

                            </li>

                            </tpshop>

                            </ul>
                                    </div>
                                </div>
                            </div>
                    </div>
                </li>
             </ul>
             <ul class="pages-menu sf-menu sf-horizontal sf-js-enabled">

        <li>
        <a href="{:U('Home/Goods/goodslist')}"><span>NEWEST ARRIVALS</span></a>
        </li>



        <tpshop sql="select * from `__PREFIX__article` where cat_id = 6 and is_open=1  order by sort asc,article_id desc" key="k2" item='v2'>
            <li>
                 <a href="{:U('Home/Article/detail',array('article_id'=>$v2[article_id]))}"><span>{$v2[$title]}</span></a>
            </li>
        </tpshop>


</ul>
             </div>
        </div>


<script>
function set_exchange_rate(id){
    $.ajax({
        type: "POST",
        url: "{:U('Home/Index/ajax_set_exchange_rate')}",//+tab,
        data: {id: id}, //
        dataType: 'json',
        success: function () {
            location.reload();
        }
    });
}

		</script>



<script>
$(function(){
	 var uname= getCookie('uname');
    if(uname == ''){
    	$('.islogin').remove();
    	$('.nologin').show();
    }else{
    	$('.nologin').remove();
    	$('.islogin').show();
    	$('.userinfo').html(decodeURIComponent(uname));
    }
    get_cart_num();
})

function get_cart_num(){
	  var cart_cn = getCookie('cn');
	  if(cart_cn == ''){
		$.ajax({
			type : "GET",
			url:"/index.php?m=Home&c=Cart&a=header_cart_list",//+tab,
			success: function(data){
				cart_cn = getCookie('cn');
				$('#cart_quantity').html(cart_cn);
			}
		});
	  }
	  $('#cart_quantity').html(cart_cn);
}

</script>